@extends('admin.layouts.wap_simple')
@section('title', '开始小程序备案')
@section('content')

<div class="main-back">
    <div class="m-card">
        <div class="m-form-item m-col-12 m-xs-12" style="display:none;">
            <label><b>*</b>选择企业类型:</label>
            <div class="badge-lists" id="corpType">
                <ul>
                    <li data="1" class="active">企业小程序</li>
                    <li data="2">个体小程序</li>
                    <li data="3">个人小程序</li>
                </ul>
            </div>
        </div>
        <div class="m-form-item m-col-12 m-xs-12" style="display:none;">
            <label><b>*</b>其他附加服务:</label>
            <div class="badge-lists" id="serviceType">
                <ul>
                    <li data="1" class="active">全流程专属客服</li>
                    <li data="2">代备案</li>
                    <li data="3">自助备案</li>
                </ul>
            </div>
        </div>
        <div class="order-price">
            <div class="money">
                <span>¥</span>
                <p id="lastPrice">599.0</p>
                <span>/小程序</span>
            </div>
            <div class="describe"><span>费用明细</span><p><d id="serviceTypeRow">小程序备案费用<font id="servicePrice">¥99</font>元。</d></p></div>
        </div>
        <div class="m-form-item">
            <div class="m-btn m-btn-block m-btn-primary" onclick="orderPay();">立即支付并开始备案</div>
        </div>
        <div class="m-info-message">
            <label>支付说明:</label>
            <ul>
                <li>1、小程序认证前支持退款退费;</li>
                <li>2、小程序备案不通过支持退还全部服务费用。</li>
            </ul>
        </div>
    </div>
</div>

<div class="modal fade" id="orderPayModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-service-dialog">
        <div class="modal-content modal-service-cotain modal-content-ts">
            <div class="modal-service-body">
                <div id="preview_qrcode"></div>
                <p id="admin_service_text">使用 微信 扫码支付</p>
                <p class="time" id="admin_service_time">二维码有效期 <font></font></p>
                <input type="hidden" id="order_id" value="">
                <p class="describe" id="admin_service_describe">请使用微信扫码完成支付,支付后自动完成跳转。</p>
            </div>
            <div class="modal-service-close">
                <i class="iconfont icon-delete_y" onclick="closeOrderPay();"></i>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/assets/admin/js/dev/template_setting.86512.js?v={{ time() }}"></script>
<script type="text/javascript">
    $(function() {
        lastPrice();
    });
</script>
@endsection
